package com.itheima.mapper;


import com.itheima.pojo.dto.orderDto.OrderAddDto;
import com.itheima.pojo.dto.orderDto.OrderUpdateDto;
import com.itheima.pojo.vo.orderVo.GetOrderVo;
import com.itheima.pojo.vo.orderVo.OrderByPageVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface OrderMapper {
    int update(OrderUpdateDto orderUpdateDto);
    List<GetOrderVo>selectAll();
    List<OrderByPageVo> selectByPage(int page, int pageSize, String number, String endTime, String beginTime);

    int add(OrderAddDto order);



}
